package com.nantong.admin.domain.model.response.salesorder;

import com.nantong.admin.domain.SalesOrder;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 销售订单视图对象
 *
 * @author nantong
 */
@Data
@AutoMapper(target = SalesOrder.class)
public class SalesOrderVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 销售订单ID
     */
    private Long salesOrderId;

    /**
     * 销售单号
     */
    private String salesOrderNo;

    /**
     * 销售人员ID
     */
    private Long salespersonId;

    /**
     * 销售人员姓名
     */
    private String salespersonName;

    /**
     * 客户ID
     */
    private Long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 销售额
     */
    private BigDecimal salesAmount;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 状态描述
     */
    private String statusDesc;

    /**
     * 创建者
     */
    private Long createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新者
     */
    private Long updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 备注
     */
    private String remark;

}

